<?php
require('includes/top.php');
$laptype = $_REQUEST['laptype'];
$empno = $_REQUEST['empno'];

$sql = mysql_query("SELECT serial_no,laptopmodel FROM laptop WHERE user_id = '".trim(GetUserID($empno))."'"); 
while($result = mysql_fetch_row($sql))
{
$data .= array();
$data .= strtoupper(GetSubstLapType($result[0]));
}

$values= explode('Array',$data);
for ($i = 1; $i <count($values); $i++)
{

//echo $values[$i].'-'.$laptype ;

if($values[$i]==$laptype)
{
echo 'Hide';
}
}
///print_r($data);


//echo GetLaptopModelNameMT();
?>